//
//  AppDelegate.h
//  kankanVideo
//
//  Created by wangbo on 5/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyAlertView.h"
//#import "zhuye.h"

//@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, readonly, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, readonly, retain) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, readonly, retain) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain) MyAlertView *alertView;
//@property (nonatomic, strong) zhuye *zyViewController;
//@property (nonatomic, retain) NSString *token;

//@property (strong, nonatomic) ViewController *viewController;
@property (strong, nonatomic) UINavigationController *navigationController;

-(NSString *) applicationDocumentsDirectory;
-(void) saveContext;
-(void)showAlert:(NSString *)theTitle;
-(void)hideAlert;

@end
